CC=gcc
CXX=g++
CPPFLAGS=
CFLAGS=

obj=main.o 
inc=Array_impl.h Array.h

main: $(obj)
	$(CXX) -o main $(obj) $(CPPFLAGS) $(CFLAGS)

$(obj): $(inc)
#	$(CXX) -c $(obj) $(inc) $(CPPFLAGS) $(CFLAGS)   //此处阻碍了make自动规则推导？

.PHONY :clean

clean:
	rm -r main  $(obj) a.out *.gch
